import React, { memo, useEffect } from 'react'
import axios from 'axios'
const Login = memo(() => {
    useEffect(() => {
        p()
    })
    const p = async () => {
        await axios.post('http://localhost:3000/login')
    }
    return (
        <div>Login</div>
    )
})

export default Login